package performance;

import java.util.Collection;

@SuppressWarnings({"WeakerAccess"})
public class PerformanceTestRunner {
	
	public static <T,V> Collection<V> runTests(DataCollector<V> collector,PerformanceTest<T,V>...tests){
		for(PerformanceTest<T,V> test:tests){
			test.runTest(collector);
		}
		
		return collector.getResults();
	}

}
